package com.esms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.esms.dao.DepGrandMapper;
import com.esms.dao.EmployeeMapper;
import com.esms.dao.GrandMapper;
import com.esms.po.Aassessment;
import com.esms.po.DepGrand;
import com.esms.po.Employee;
import com.esms.po.Grand;
import com.esms.po.QassessMent;
import com.esms.service.IEmployeeDepGrandServer;
import com.esms.service.IEmployeeGrandServer;

@Service
public class EmployeeDepGrandServerImpl implements IEmployeeDepGrandServer {
	@Autowired
    private DepGrandMapper depGrandMapper = null;
	
    @Override
	public List<DepGrand> getEmpDeployeeGrandList(int eId,String dId,String qTargetid) {
    	return depGrandMapper.selectBypIdAnddId(dId,qTargetid);
	}
    
    @Override
    public int deleteDepGrand(String eAccount,String qDaccount,String qTargetid) {
         return  depGrandMapper.deleteDepGrand(eAccount,qDaccount,qTargetid);
    }
    
    @Override
    public int insertDepGrand(QassessMent aassessment) {
         return  depGrandMapper.insertDepGrand(aassessment); 
    
    }
    
}
